
#include "mpthread.h"
void setup_thread()
{
/*  int err;
  err = pthread_create(&socket_thread_ntid,NULL,setup_net,NULL);
  if(err != 0){
   printf("can't create thread: %s\n",strerror(err));
   return ;
  }	
    log_print("setup_thread done!\n");*/
}

/*void printids(const char *s){
pid_t pid;
  pthread_t tid;

  pid = getpid();
  tid = pthread_self();
  printf("%s pid %u tid %u (0x%x)\n",s,(unsigned int)pid,(unsigned int)tid,(unsigned
int)tid);
}

void *thr_fn(void *arg){
  printids("new thread:");
  return ((void *)0);
}

int main(){
  int err;

  err = pthread_create(&ntid,NULL,thr_fn,NULL);
  if(err != 0){
   printf("can't create thread: %s\n",strerror(err));
   return 1;
  }

  printids("main thread:");
  sleep(1);
  return 0;
}*/